fix swap for installation on small instance