bug in line 87