whitespaces
tracked down two nasty bugs with namespaces
remove cert function
Dont die, throw exception instead