fix rpm bug