fix error response packets
fix and complete QueryDirectory response