Add exception to support python2 properly