fixing second assertion