- fixed js error