fix bug in resource page