Fix errors and format bad words list