clean up bordered system