fix machine create