bug in ImportTemplate and in GetChildDevicePicture with missing picture files