tomato bug fixing