Fixed double calling deterministic Function
fixed double calling deterministic function