replaced autoclose with auto-pairs