clean useless arguments to server function
cleaner buffers