types.db: make remove 0 lower bound from derive type