fix arm build
minor pointer fix for arm build