fix: if/switch