fix deprecations of from_char_data properly!