@dumganhar 
You are right. I will try to use int for other places if possible.