fixed error in the database of Dynamic