removed useless fail var