Fixed link_to bug