fixed for lua5.2 -- module() call is obsolete