Fixing object class and params issue