referance passing error.