fix if empty css path or js path in config always return 404 error