correct bucket type values in opts