issue #23: Fixed loop for an objects contains no public properties