submit error, add to database fixed