diff --git a/lib/install b/lib/install
index 722af07..ad02051 100644
--- a/lib/install
+++ b/lib/install
@@ -480,7 +480,7 @@ php_tool() {
mysql_tool() {
api-events_update im5
- sudo mkdir /var/www/$(conf_read tools-port)/htdocs/pma
+ sudo mkdir -p /var/www/$(conf_read tools-port)/htdocs/pma
sudo wget --timeout=15 -t 1 -qrO /var/www/$(conf_read tools-port)/htdocs/pma.tar.xz https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.xz
sudo tar -xf /var/www/$(conf_read tools-port)/htdocs/pma.tar.xz -C /var/www/$(conf_read tools-port)/htdocs/pma
sudo mv /var/www/$(conf_read tools-port)/htdocs/pma/phpMyAdmin-*-all-languages/* /var/www/$(conf_read tools-port)/htdocs/pma/
diff --git a/plugins/httpauth b/plugins/httpauth
index 37c7267..a2e61d3 100644
--- a/plugins/httpauth
+++ b/plugins/httpauth
@@ -1,6 +1,6 @@
#!/bin/bash
source /opt/webinoly/lib/general
-opt="$1"
+opt=${1,,}
# Http-Authentication Plugin
# Syntax: httpauth