changed debug mode default to false