fix ticker's bug