Modify to redirect when operation is done
Catch parse error now.