fix some depreciation warnigns

bureaucracy