fixed issue with Android getCurrentDirectory