a fix where retrieving an inexistant array path would result in an error