Fixed factor checkbox bug