improve code quality: add __server_message func