changed the sed statement a little

changed the sed statement to make it a little cleaner