Fix namespace and listener configuration