fixing not found error for auto name lookup