fixed validate checkbox