small fix for detect lang diff