added check for null value in SpEL