fixed parsms bug