fix internal server error for sales rep show