added bool value and fix misspellings