fix USB dump function