remove some libs + static access to entity