updates for SDK >=0.5.3
v0.22.1
more fixes for Directory.current
v0.22.1+1