added null check for gold reason, removed some debug