Fix resource disk issue