added extra info in error report, and workaround for invalid base layer string error