fix empty links for create page and view page