error page + better footer
fixed error checking