Applied path from Y. Kotlyarov to fix crash in clear() mothod