#autocorrect function