change projection query to return projection entity