change layout codes