deleted test.html
fix ResourceFactory