do some operations for wrong input.