Why is there .data in those lines at all? Should be just db.getValueAt(....)
.data
db.getValueAt(....)