fix error in antialiasing