rm extra files in res