getObject bugfix