Fixed module storage and delete

kja;ksfg