improved debug on the web interface