prevent js error when section is not set