remove hardcoded strings from graphs