fixed issues with client when updating to latest closure