fix restbucks in sandbox app

save resource to memory not file