Fixed system_str() so it doesn't crash anymore.