Fixed the access to the result