fixed most of bugs and r req_type is used for all
fixed most of bugs and r req_type is used for all