Modify foobar -> foo