fixing cancel btn