remove assert code