fixing bad gold error