Update go.php

bug fix array index overflow