fixing option for read_preference