fix relationship between errors and urls