Fix edit period page