add rotate
remove module.register by define