fixed bug with selectecting root directory with space