core cleanup: debug replacement in sipe.c