fix stop mechanism