Error in handling selector input.