make scaffold py3 ready