move module type in to rawrequest