fixed click plotting and escape