fixed spell bugs