Revert "remplace common par server functions."

This reverts commit be35f3d8c6a5af4535ef0b4b4f6ddf5ad8bd43d6.