modified current_id make it global identify