fix image pointer + fix condition before and after current_time