bugfix

fixed implicit variable declaration