fixing incorrect url methods