some TODOs fixed

Signed-off-by: loopasam <samuel.croset@gmail.com>