Some improvements on rpms