fix get fs type for swap