Fixed bug with language attributes