correct few smoothness bugs