fix for enqueue class