fixed ajax issue with teachers show page