fix rpm check command