fixed the error, left in the old golf.js. dumb.