change the cast type from int to Integer