bug in layout fixed