fix layout field issue