fix if using wrapper elements in basic mode