critical server error fix
change to ws