bug corrections