Improve tick formatter