Fix null pointer
Fix urlencoding
Bump versions
Fix pattern