get_value_from_memory() bug fix, method changed to public