change all debug_message by simply assert