was not using correct entity name