fixed the db a little

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>