fixes createClient execution
Merge pull request #1 from Lukewa/master

fixes createClient execution