Fixed execute()

Fixed execute crash bug.