Corrected switch exception && switch now connected with the server