do request type correctly