fix for variable declaration