layout in ff bug fix