extending error message for easier debugging