CONFIG REWRITE: fixed ENOENT (No such file or directory) error