fixed an error with static path