Remove string formatting from solution