change function is_complete() in message.hpp