fix bug on local server file