fix date, autoclose