Planning ahead could help minimize travel headaches