fixed routing issue for show and index