removing double notice in layout