FIX: free storage buffers and item specific options
UPDATE: patch file