Fixing bugs on abs dir