fixing resources for demo pages