fix: check for ptr existance, could happen if addon is not yet activated