fixe CWD error started with debian 7