fixed problem with link_to_previous_page helper