jbuilder hax to fix picture rendering