remove url encoding from sync.php