adjust layout for rot