fix : added folder creation detection