fixed refirect to go to correct location