fix to use static resource