fixed cached files and do a lot of work