remove unnecessary assert()