fixed type hint in entity setter method