Bug fix at the time to create IoT tree