fixed a lot of small bugs around disallowing submissions before migration