small syntax compatibility fix
made module the name attribute of module resource