wrong name
close() was missing after write on slots file