fixed flags for WkCocos