remove un-needed double assertion, and improve assertion message