fix layout for inner box