useful error message as workaround