finally fixed DB prob