fix pattern folders creation ; resolve and close #17