restore old hasSwappableElements