Fixed #2077 by adding a var to make it a local variable instead of initializing a...