bugfix debugging environment