purged extensions_length from extensions environment