Fix issue that only allowed 1 machine to be created
Fix issue with infinity loop