change session_manager to map ptr manager
fix bug error
asdfghjkl;