fix layout service