fix YCM & autoclose conflict