Merge pull request #7 from zebooka/master

Fixed that issue when namespace is deeper than available.