fixed typed.hpp in release mode