fixing name lookup potential issue