Checking lex fixed for seconed if