diff --git a/src/app/home/home.page.html b/src/app/home/home.page.html
index 9541f1308b3aac6a49e47a1a73ce1f1a09d75322..14d9540f82ca0f3773dd1f2fe759ed3d7f63f7e1 100644
--- a/src/app/home/home.page.html
+++ b/src/app/home/home.page.html
@@ -37,7 +37,7 @@
             </ion-row>
             <ion-row>
               <ion-col size="1"><ion-icon name="pin"></ion-icon></ion-col>
-              <ion-col>{{bike.address + " " + (bike.HouseNumber || "")}}</ion-col>
+              <ion-col>{{(bike.address || "") + " " + (bike.HouseNumber || "")}}</ion-col>
             </ion-row>
           </ion-grid>
           <div class="battery-info1">
diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts
index 8293575c7f18ecb8a7f448d27fc99c3ec6eacd30..a56ea43847517baabc67e4cd04cd33a3c01d260e 100644
--- a/src/app/home/home.page.ts
+++ b/src/app/home/home.page.ts
@@ -283,10 +283,12 @@ export class HomePage implements OnInit, OnDestroy {
         this.toastService.showToast("Reservation Successful!");
         this.router.navigateByUrl('/myreservation');
         this.loadingService.hideLoader();
+        this.isDetailsVisible = false;
       }, (error) => {
         console.log(error);
         this.loadingService.hideLoader();
         this.toastService.showToast("Only one bike may be reserved or rented at a time");
+        this.isDetailsVisible = false;
       });
     });
   }