correct setting of object parameters res #993