Fxed bug on inactive field