remove unused field from factory