fix graphics string