style fix
terminal mid api