Fixed Error 500 occuring when resolving hosts (was a mere typo)
fixes #11