fixed compat.hpp