fixed problem concerning duplicate sin or student #