fix recursive include in entity.hpp