fixed onDisconnect
fixed onDisconnect
fixed db_handler