changed checkbox value to correct value