remove sw=3, remove set statements