Update helper_functions.lua

convert string ids to number (not sure why they were being sent as string but w/e)