fix on the socket file, added some prints