removed core files
Fixed infinite loop