[STUDIO-2847]avoid NPE