improve check