Fix: add error message if ajax is fail