fix error in server