updated autoall to be lang aware