fixed double jquery calls again