Fix student register form issue