Clean up error strings