fixed IllegalArgumentException when inflating Integer