Retirement tax questions

It is suppose to do that.  As I said you didn't really pay the penalty yet.  You get credit for all  the tax you paid on line 64.