fixed import error in confirm.py