cond expand should depend on platform