Fix critical server error