fixing memory leak
adding layouter
memory !