fixed syntax err in _cmp