remove unused code
reenable antialiasing