fix spelling errors, add default return even if it can't run