default opts if only callback is passed