Update DataProviderClassbuilder/classbuilder.py

bug fixes