url encode + fix html error