Fix an issue can't find static resources.