quick code tidy in profile entity repo