resolved path issue of static resources.