prettier view scans page and added exception handler