some error fixes

fixed some errors that came about after editing the module files