implement Josh's get_string fix