fixed SessionManager upload picture problem