remove the warnings generated by the new code

Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>