error fix for server