don't run hooks if ignored
fix #565