add missing field max_uses
clean up files