fix error w/ no swap