Clean up string with extern