solve the problem java.lang.IllegalArgumentException: x must be >= 0