trying to fix jagged edges