removes unnecessary mapix logic in view all customers controller function