fix ff layout issue