fix timings
Fix bug with unremoved click handlers on elements
extract magic number