this should fix the empty languages problem