modify the error in front pages and update the user interface