Now I can't find the reason for nextTick. I'll rewrite this part.