diff --git a/public/js/app.js b/public/js/app.js
index bd26176d..7b5b37f7 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -1,4 +1,4 @@
-(()=>{var e={927:()=>{$(document).ready((function(){let e={previewTemplates:{image:'<div class="file-preview-frame krajee-default kv-preview-thumb" id="{previewId}" data-fileindex="{fileindex}" data-template="{template}">\n   <div class="kv-file-content" style="width: 100%;">       <img src="{data}" class="kv-preview-data file-preview-image" title="{caption}" alt="{caption}"            style="height: auto; width: auto; max-width: 100%; max-height: 100%;">\n   </div>\n</div>\n'},layoutTemplates:{footer:""},showRemove:!1,showUpload:!1,showCancel:!1,initialPreviewShowDelete:!1,dropZoneEnabled:!1,required:!1,showClose:!1,browseClass:"btn btn-default",browseLabel:"Browse",removeClass:"btn btn-default",uploadClass:"btn btn-default",allowedFileTypes:["image"],showUploadedThumbs:!1,maxFileSize:1e4,maxFilePreviewSize:1e4},t=$(".img-input"),i=t.data("url"),n=t.data("preview");e.uploadUrl=i,e.defaultPreviewContent='<div class="file-preview-frame krajee-default kv-preview-thumb">\n   <div class="kv-file-content" style="width: 100%;">       <img src="'+n+'" class="kv-preview-data file-preview-image"           style="height: auto; width: auto; max-width: 100%; max-height: 100%;">\n   </div>\n</div>\n',t.fileinput(e);let r=document.querySelector(".kv-fileinput-caption");r.style.height="86px",r.style.marginTop="33px",t.on("fileuploaded",(function(e,t,i,n){$(this).fileinput("reset"),$(".file-preview-frame").find("img").attr("src",t.response.imageUrl)})),t.on("change",(function(){$(".img-input").fileinput("upload")}))}))},132:()=>{$(document).ready((function(){$(".open-button").on("click",(function(e){e.preventDefault();let t=$("#contact-form-container");$.ajax({type:"GET",url:"/contact/form"}).done((function(e){t.replaceWith(e),document.getElementById("contact-form-yb-frontend").style.display="block"})).fail((function(e){e.status,window.toastr.error(translateText("Something went wrong! Please try again!"))}))})),$(".cancel").on("click",(function(){document.getElementById("contact-form-yb-frontend").style.display="none"})),$("#send-expert-contact-form").on("click",(function(e){e.preventDefault();let t=$("#contact_form");$.ajax({type:"POST",url:"/contact/save-contact-message",data:$(t).serialize()}).done((function(e){"success"===e.message.type?($('input[name="email"]').val(""),$('input[name="name"]').val(""),$('textarea[name="message"]').val(""),document.getElementById("contact-form-yb-frontend").style.display="none",window.toastr.success(translateText(e.message.text))):window.toastr.error(translateText(e.message.text))})).fail((function(e){switch(e.status){case 422:let t=JSON.parse(translateText(e.responseText));window.toastr.error(t);break;case 401:let i=JSON.parse(translateText(e.responseText));redirectTo(i.redirect);break;default:window.toastr.error(translateText("Unexpected error. Please try again!"))}}))}))})),window.validateContactUsForm=function(){event.preventDefault(),$(".contactUsFormErrors").hide();var e=!0;if(!$(".g-recaptcha")[0].dataset.sitekey)return e=!1,$("#contactUsErrors").show(),$("#recaptchaSiteKeyEmpty").show(),!1;""==$("#contact_form #name").val()&&(e=!1,$("#contactUsErrors").show(),$("#contactUsEmptyName").show()),""==$("#contact_form #email").val()&&(e=!1,$("#contactUsErrors").show(),$("#contactUsEmptyEmail").show()),""==$("#contact_form #message").val()&&(e=!1,$("#contactUsErrors").show(),$("#contactUsEmptyText").show()),1==e&&grecaptcha.execute()},window.submitContactUsForm=function(){$("#contact_form").submit()}},692:()=>{$(document).ready((function(){$(document).on("click",".language-container .language-active",(function(){$(".language-list").slideToggle("fast")})),$(document).on("click",".language-container .language",(function(){let e=$(this),t=$(this).data("language-key"),i=e.find("img").attr("src");$(".language-container .language-active").find("img").attr("src",i),$(".language-list").slideToggle("fast"),$(".language-list .language").removeClass("active"),$.post("/language/change",{languageKey:t}).done((function(){e.addClass("active"),location.reload()}))}))}))},629:()=>{$(document).ready((function(){$(".collapse-menu").on("click",(function(){$(".profile-action-menu").slideToggle()}))}))},838:(e,t,n)=>{var r,o,s;
+(()=>{var e={927:()=>{$(document).ready((function(){let e={previewTemplates:{image:'<div class="file-preview-frame krajee-default kv-preview-thumb" id="{previewId}" data-fileindex="{fileindex}" data-template="{template}">\n   <div class="kv-file-content" style="width: 100%;">       <img src="{data}" class="kv-preview-data file-preview-image" title="{caption}" alt="{caption}"            style="height: auto; width: auto; max-width: 100%; max-height: 100%;">\n   </div>\n</div>\n'},layoutTemplates:{footer:""},showRemove:!1,showUpload:!1,showCancel:!1,initialPreviewShowDelete:!1,dropZoneEnabled:!1,required:!1,showClose:!1,browseClass:"btn btn-default",browseLabel:"Browse",removeClass:"btn btn-default",uploadClass:"btn btn-default",allowedFileTypes:["image"],showUploadedThumbs:!1,maxFileSize:1e4,maxFilePreviewSize:1e4},t=$(".img-input"),i=t.data("url"),n=t.data("preview");e.uploadUrl=i,e.defaultPreviewContent='<div class="file-preview-frame krajee-default kv-preview-thumb">\n   <div class="kv-file-content" style="width: 100%;">       <img src="'+n+'" class="kv-preview-data file-preview-image"           style="height: auto; width: auto; max-width: 100%; max-height: 100%;">\n   </div>\n</div>\n',t.fileinput(e);let r=document.querySelector(".kv-fileinput-caption");r&&(r.style.height="86px",r.style.marginTop="33px"),t.on("fileuploaded",(function(e,t,i,n){$(this).fileinput("reset"),$(".file-preview-frame").find("img").attr("src",t.response.imageUrl)})),t.on("change",(function(){$(".img-input").fileinput("upload")}))}))},132:()=>{$(document).ready((function(){$(".open-button").on("click",(function(e){e.preventDefault();let t=$("#contact-form-container");$.ajax({type:"GET",url:"/contact/form"}).done((function(e){t.replaceWith(e),document.getElementById("contact-form-yb-frontend").style.display="block"})).fail((function(e){e.status,window.toastr.error(translateText("Something went wrong! Please try again!"))}))})),$(".cancel").on("click",(function(){document.getElementById("contact-form-yb-frontend").style.display="none"})),$("#send-expert-contact-form").on("click",(function(e){e.preventDefault();let t=$("#contact_form");$.ajax({type:"POST",url:"/contact/save-contact-message",data:$(t).serialize()}).done((function(e){"success"===e.message.type?($('input[name="email"]').val(""),$('input[name="name"]').val(""),$('textarea[name="message"]').val(""),document.getElementById("contact-form-yb-frontend").style.display="none",window.toastr.success(translateText(e.message.text))):window.toastr.error(translateText(e.message.text))})).fail((function(e){switch(e.status){case 422:let t=JSON.parse(translateText(e.responseText));window.toastr.error(t);break;case 401:let i=JSON.parse(translateText(e.responseText));redirectTo(i.redirect);break;default:window.toastr.error(translateText("Unexpected error. Please try again!"))}}))}))})),window.validateContactUsForm=function(){event.preventDefault(),$(".contactUsFormErrors").hide();var e=!0;if(!$(".g-recaptcha")[0].dataset.sitekey)return e=!1,$("#contactUsErrors").show(),$("#recaptchaSiteKeyEmpty").show(),!1;""==$("#contact_form #name").val()&&(e=!1,$("#contactUsErrors").show(),$("#contactUsEmptyName").show()),""==$("#contact_form #email").val()&&(e=!1,$("#contactUsErrors").show(),$("#contactUsEmptyEmail").show()),""==$("#contact_form #message").val()&&(e=!1,$("#contactUsErrors").show(),$("#contactUsEmptyText").show()),1==e&&grecaptcha.execute()},window.submitContactUsForm=function(){$("#contact_form").submit()}},692:()=>{$(document).ready((function(){$(document).on("click",".language-container .language-active",(function(){$(".language-list").slideToggle("fast")})),$(document).on("click",".language-container .language",(function(){let e=$(this),t=$(this).data("language-key"),i=e.find("img").attr("src");$(".language-container .language-active").find("img").attr("src",i),$(".language-list").slideToggle("fast"),$(".language-list .language").removeClass("active"),$.post("/language/change",{languageKey:t}).done((function(){e.addClass("active"),location.reload()}))}))}))},629:()=>{$(document).ready((function(){$(".collapse-menu").on("click",(function(){$(".profile-action-menu").slideToggle()}))}))},838:(e,t,n)=>{var r,o,s;
 /*!
  * bootstrap-fileinput v5.5.4
  * http://plugins.krajee.com/file-input
diff --git a/src/App/assets/js/components/_avatar.js b/src/App/assets/js/components/_avatar.js
index 7770b8a9..97e2b0b1 100644
--- a/src/App/assets/js/components/_avatar.js
+++ b/src/App/assets/js/components/_avatar.js
@@ -42,8 +42,10 @@ $(document).ready(function () {
 
     $imageInput.fileinput(fileInputCommonConfig);
     let captionInput = document.querySelector('.kv-fileinput-caption');
-    captionInput.style.height = '86px';
-    captionInput.style.marginTop = '33px';
+    if (captionInput) {
+        captionInput.style.height = '86px';
+        captionInput.style.marginTop = '33px';
+    }
 
     $imageInput.on('fileuploaded', function (event, data, previewId, index) {
         $(this).fileinput('reset');
