Fix resources build error?