add resource loop on show for category