silly problem: fix for getcwd() problem