background resource not defined fix