fix stop error