Fix uninstall function