modify by sq for somecode in layout