fix initial path for xsom