rewrite module move