Fix Exception java.lang.StackOverflowError