remove debug & pythonic mkdir