fix gold problems