null check

Signed-off-by: vito <bovitobo@yahoo.com>