fix bug and add machine room manage function