changed InputClosureBindStupidWorkaround from a dummy class to a function