fix image to show in real time