fixing bug with not asigning fonts to data