attempts to fix XPCommand not working

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