fixed problem of reference languages