un-revert from last good build in travis, figured out bug
fix bug in re-opening logic