minor bug fix, setting null to inversion