fix is_swappable metafunction