fixed typos, alerts, sw input remove whitespace