removed nil values from properties