small bugfix (variable declaration)