fix auto select bug, and broken url