add macro for main thread assert