fix bug in error view
added ajax timeouts