fix layout fields fail