correction resource compilation.

fixed compilation