Fixing dependence for self-dependent statements