fix to-params passing belongs to objects