fixing call signature for resource client