fixed formatting.txt and canceling issues