fixes install and unistall mogules