fixed get subjects from objects, wasn't working before because wrong array was used