fix url stuff