fix bug and add option to not display message