Remove trailing 0 from function that is used both statically and dynamically

Remove trailing 0 from function that is used both statically and dynamically