fix stop by error