no crash when terminal is too small