Fix error when fileServe is null