tweeking layout to generate better figures