adjust layout stage