Clean up code by replacing " with '