fix assert brakets