fix graph click