State tax filing

I am using Premier version.  When I tried entering the amount of the long term gain distribution from the federal form, it increased the tax liability by a lot instead of decreasing it.  HOWEVER, when I entered 0 for long term adjustments instead of leaving blank, my tax liability recalc'd to where it should have been AND Form WD miraculously appeared along with the 30% adjustment in wi line 10!  Thanks for your response!