fixed state link issues in postview template