Correct database data