fix clone url selection after pjax request