locations were being displayed as object