protected from nulls when executing a process

caused NPE