corrected an error for the show resource page