fixed set root dir