check invalid format is in and show it