fix to compression.
added create local directory.