bugfix: debug variable corret declaration