add patch for alloc files