Fixed cleanUp problem

cleanUp function doesn't work in my computer. It is because after remove "db" folder, remove function can't find path "db/../" because "db" is already removed. If I changed the order of remove calls in cleanUp function it works.