fix table collapse