replace all #bad and #good