fix template error in resources page