fixed bug in new nap cancel logic