fixed lingering in/outs