Fix assertions