fix programming language detection and search errors