fixed sed usage for linux