Fixed Db add issue