change layout to fit character