fixed OPEN_FILE in legacy configs