bugfix
fixed bad behaviour in getParent() with root folder
bugfix