fixed free without -h on rpm based systems