fixed alt handling in func_id