Fixed resource/strem handling