check box and output fix