rename slots, fix win-compilation