fixed after Ilya Dedinskiy's revision: one more fix