Cancel application fix