temporary fix for DiscardController