fixing compilation error caused by unused "assert" method