Fixed error when data.access is undefined

Issue #85