added missing sed command for root5 compatibility