fixed the error images and fo now running perfect in HTML