tiny fix
delete ~ in func_id