fixed IllegalArgumentException