revert camelCase function to one that works with accounts-ui