fixed problem with manual cancel