fixing add, remove or set not working

Signed-off-by: ThePooN <thepoon@cartooncraft.fr>