Removing ugly sed hack