fixed images not beeing resources