check file and remover warnnining 2