fixed a bug that integer size is too small