fix call to get_session_pid with binary arguments
fix build of Parents list in #pubsub_node
clean subscriptions handling and avoid function_clause