updated errors views and handling