fixed smooth(label) and paint