corrected the format to select objects with variables which have dashes in their names