diff --git a/fixes-package.install b/fixes-package.install
index e31a741..b09c249 100644
--- a/fixes-package.install
+++ b/fixes-package.install
@@ -31,6 +31,10 @@ done
 }
 
 pre_remove() {
+	for line in 'QT_QPA_PLATFORMTHEME' 'QT_QUICK_CONTROLS_STYLE'; do
+	sed -i "/^\s*$line=/d" /etc/environment
+done
+
     find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global disable
     echo "Warning: A restart is required to take effect"
 }