annotation fix for orm query builder