handle some strange input better