Fixed maketick to not hang.