fixed module error *partial credit to ajacksified