avoid nil exception on calling inverse?