cleaning up schemes