improve handling of unknown objects