Fixed the serve button crash