fixed based on new version of docker client