Fixes sed issue. No tests yet.