move Expand back to flag