fix image cloud side effect - bug reported and fixed by Kanru