return json and fix spelling error