Fixes missing uid and hash vars
Fixes issues with provider settings being loaded and unicode data when it should of been stripped off.