removes prefix from border util