remove memCompress
switch the order of packages and function deps