Remove no use file and fix writing mistake