some correction for sending ALT+S at the end