delete usless files and fix cookies bug