fixed collapse in firefox