fixed error for current_page links