fixed segfault from action-link on page w/o links