Update deprecated  helper and  property access

Fix typo and update dist