#5 fix read from public resources