Avoid nullPointer on urlEncod/Decode