fix bug on notice