Fixing when we add the tick event listener