Fixed notice with $input[$field]