Fixed issue in index when code language not specified