quick fix of StackOverflowError in LocalController