fixed resource page bug