o squared workaround for inport