disable autoclose