minor patches + added Error support for DL