fixed bug in local file location