force limit to int