Fixed error output on ajax save