was using wrong entity name