fix some assertion macro