fixing antialiasing