previning some data erros