fixed bug in add_assignment page