debug mode default to false.