return nil if enqueue is restricted