fixed resource not showing up issue.