Fixed error that causes the module not to run