Fixed references evaluation.