fixed compiler bug (variable declaration)