fix js error caused by flex when fixMin