solve a bug for the control bit of SW_SP