Correction for restserver method