delete some functions uncompatible with the server