Fixes resource streaming