fixes bug with special characters in default value