fixed current directory security issue