fixed problem in file serving