fixing some output issues in svim