fix database structure

allow negative values