correct database column assignments