Syntax tidy up broke Language detection