fixed the on-click annoyance bug