fix overwriting modes in project like IJulia