fixed database insert typo