Fixed a bug in the inverse schira