layout adjustments for sam