better compat with terminal