remove unuseless file and config