Remove assertion from the code