Entity field's value getting error: field is not found