Fix recursive capture call