use correct hook for turning on indentation