Please change the id back to location since we still need to generate an unique location here.