remove unnecessary assertion