onCancel button fixed