fixed behavior out, in, both