allow passing obj in partial options