Fixed some issues with languages_mapping and others minor bugs.