small fix + debugging help