fixed notice display by placing in layout