added assert_msg to macros