fixed issue with uploaded image uri as value and removed adding form error on ajax