fix formatting for server buffer