fix all rpm bugs