fixed a bug when after reselecting compress checkbox didnt select compression