Removes function call that resulted in double output