fixed a SMS bug