[fix] compiles again. TODO: unit_test fixes