fix issue #99 (pull selected resources) + fix a bug with the link_to tag