prevent error when compress is undefined