fix: invalid operation error