The same fix would be necessary in line 310 and 316.