fixed assertions