hide flag if location is unset