cancel navigation fix