quipper fix by Azat rev 5.