fixed crash when operator specified, added support for more operators, added replace_row