Solve checkbox errors