fixed background cache checking problem