fixed return row position and updated default student type