change the way we check if lang exists