Fixed access type bug