Fixed a sed pattern that messed up the output