Fixing Debug Messages