removes superfluous message variable