add an option to disable notify