fix the Int method does not work