fixed int type error