more changes. added error page