lazy sed-ing needed to be fixed