checkbox now correctly checked