fixed student profile not submitting properly