fix: Js error on empty value