changing error message to make it easier to debug