fix image regex