fixed wrong request type