fix bootloop added by swapsd code