fix layout properties