correctly set url