Bug in SGI version