Lived in two different states, earned in two different states, taxed in two different states

Please help.  Turbotax is considering my full annual income for my MD taxes, and not a partial income.  I lived in MD from Jan - Sept then moved to Virginia.  I had MD taxes taken out until I switched to VA ones in Sept.  The state turbotax program is not differentiating the time in the MD software.  The VA software is identifying the time.  How do I fix this?