Add fix in order to avoid js error compilation error