enhance the checkbox, error handling, rendered html