fixed to focus on invalid tag data before show warning message.