debug

fixed resource.cs and perform()