Fixed typo on variable passed to get_id