Fixed a bug when no language was specified