fix for not resi and dfix