bug fix for resource page