correcting assert