fix failing assert