[web] - avoid NPE