Fixes float/double entity type