fix

Detecting errors and showing its on result page.