cleaned up corners