Reduce warnings focused mostly in directory debugger