I'm sure this is a common issue and that loads of people can help

My glove box cover doesnt close properly, but that I mean I can flatten it flush but the latches dont seem to go into the holes and I cant lock it.
I have yet to try unscrewing the to receiver that connects to the dash but thought I'd ask here first.
I'm sure its probably because the dash has been warped by the sun over the years. Anyone else have this issue / know the solution?
Thanks