fixed missing flag on sed