do url-encode and fix wrong folders,,