updated errors with debug io locks