better checkbox and input injection