fixing bug in coach model