flexbox: workaround for mdv bug