Removed var

added debug mode message