fix check size of assert