fixed checkbox if input fields are empty