fixed a bug in case a language is not provided