fixed db 1 hard coding