fix copickuploc bug