fix UI bug when creating academic periods while creating a new batch