Correction in calling an objects prop