support nodeFlags option