Fix for AutoGenerated string bug