fixed removestudent in API and form