fixed values not being copied to Entity in convertToEntity