better fix for swapfile