Trying to solve bucket option error