fixed bug in replacing newrelic key