bug on default directory in linux and windows corrected