Get rid of notices when pick_object and pick_val are not set