Fixed bug where buffer name wasn't relative