Custom EntityRepository
minor fix