fix smooth issue