Name not on file

My daughter got married..changed her name on her social security card. She files married separately. 

But when she sends her return. It's says her name not on file....so she uses her maiden name and her return gets accepted...what's wrong?  AND how to we fox this...remember the irs will only except her maid name on her retun...not her married name.