remove warnings, modify compression