fixed null pointer issue in getAbsoluteUnitLiteral