fixed layout bug in FF