Use correct variable for get_all