Fixed request type bug