invalid assertion fixed