added canceling main div