1. delete unused files
2. fix warning