added a check for 0 swap on a machine to drop out