-webnotes +frappe :boom:
diff --git a/erpnext/templates/includes/footer_extension.html b/erpnext/templates/includes/footer_extension.html
index 315be06..ba26592 100644
--- a/erpnext/templates/includes/footer_extension.html
+++ b/erpnext/templates/includes/footer_extension.html
@@ -32,6 +32,6 @@
 			});
 		}
 		else
-			wn.msgprint(wn._("Please enter email address"))
+			frappe.msgprint(frappe._("Please enter email address"))
 	});
 </script>
diff --git a/erpnext/templates/utils.py b/erpnext/templates/utils.py
index bcd23ab..e98a5c0 100644
--- a/erpnext/templates/utils.py
+++ b/erpnext/templates/utils.py
@@ -2,11 +2,11 @@
 # License: GNU General Public License v3. See license.txt
 
 from __future__ import unicode_literals
-import webnotes
+import frappe
 
-@webnotes.whitelist(allow_guest=True)
+@frappe.whitelist(allow_guest=True)
 def send_message(subject="Website Query", message="", sender="", status="Open"):
-	from webnotes.templates.pages.contact import send_message as website_send_message
+	from frappe.templates.pages.contact import send_message as website_send_message
 	
 	if not website_send_message(subject, message, sender):
 		return