resource local path bugfix