throw an error on os not found