fixed database to now have deafult and null equal false