Solved missconfiguration with db