fix up the cancel button