move tick incr out of lock