change basic server return message judge function