removed debug setting, minor typos