fixing settings and compress