fixed prob2b error in ps7